﻿using J.FoodRepository;
using J.FoodRepository.Impl;
using J.FoodRepository.InterFace;

namespace J.FoodManageGet.Extensions
{
    public static class Extensions
    {
        public static void RegisterServices(this IServiceCollection Services)
        {
             Services.AddScoped<ITableNumRepository, TableNumRepository>();//桌号
             Services.AddScoped<ISpecificationRepository, SpecificationRepository>();//规格
             Services.AddScoped<IGroupingRepository, GroupingRepository>();//分组
             Services.AddScoped<IBenchTableRepository, BenchTableRepository>();//台费
             Services.AddScoped<IDineRepository, DineRepository>();//堂食
             Services.AddScoped<ITasteRepository, TasteRepository>();//口味
             Services.AddScoped<IDishesReposittory, DishesReposittory>();//菜品
        }
    }
}
